package com.xhwl.centiotdata.service.cent;

import com.xhwl.common.pojo.statistics.DwdFactOperationSaleRecord;
import feign.Param;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;

import java.util.List;

/**
 * Copyright (C),1998-2022, 兴海物联
 * FileName: IBiOperationSalesService
 * Author: XuChang
 * Date: 2022/2/25 19:53
 * Description: 销售记录同步
 * History:
 */
@FeignClient(name = "cent-bi")
public interface IBiOperationSalesService {

    @RequestLine(value = "POST /sales-service/async-record")
    void asyncRecord(@Param("dwdFactOperationSaleRecordList") List<DwdFactOperationSaleRecord> dwdFactOperationSaleRecordList);
}
